package main;

import model.geneticAlgorithm.driver.HelloWorldGeneticAlgorithmDriver;
import view.geneticAlgorithmDisplays.stringGrid.HelloWorldFrame;

public class Main{
	
	private static HelloWorldGeneticAlgorithmDriver driver = new HelloWorldGeneticAlgorithmDriver();

	private static void createAndShowGUI() {
	    HelloWorldFrame helloWorldFrame = new HelloWorldFrame(driver);
	}
	
	public static void main(String[] args) {
        //Schedule a job for the event-dispatching thread:
        //creating and showing this application's GUI.
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                createAndShowGUI();
            }
        });
		driver.runForGenerations(25000);
    }
}